
from transformers import AutoModelForCausalLM

model = AutoModelForCausalLM.from_pretrained('openai-community/gpt2-xl')
print(model)